import { request } from '@/utils/service'

export const login = (data: LoginApi) => {
  return request({
    url: '/login',
    method: 'POST',
    data,
    headers: {
      isToken: false,
    },
  })
}
